package com.ruoyi.monitormanage.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.monitormanage.mapper.TTestteamMapper;
import com.ruoyi.monitormanage.domain.TTestteam;
import com.ruoyi.monitormanage.service.ITTestteamService;

/**
 * testteambuildService业务层处理
 * 
 * @author 肖大宝
 * @date 2025-06-10
 */
@Service
public class TTestteamServiceImpl implements ITTestteamService 
{
    @Autowired
    private TTestteamMapper tTestteamMapper;

    /**
     * 查询testteambuild
     * 
     * @param id testteambuild主键
     * @return testteambuild
     */
    @Override
    public TTestteam selectTTestteamById(Long id)
    {
        return tTestteamMapper.selectTTestteamById(id);
    }

    /**
     * 查询testteambuild列表
     * 
     * @param tTestteam testteambuild
     * @return testteambuild
     */
    @Override
    public List<TTestteam> selectTTestteamList(TTestteam tTestteam)
    {
        return tTestteamMapper.selectTTestteamList(tTestteam);
    }

    /**
     * 新增testteambuild
     * 
     * @param tTestteam testteambuild
     * @return 结果
     */
    @Override
    public int insertTTestteam(TTestteam tTestteam)
    {
        return tTestteamMapper.insertTTestteam(tTestteam);
    }

    /**
     * 修改testteambuild
     * 
     * @param tTestteam testteambuild
     * @return 结果
     */
    @Override
    public int updateTTestteam(TTestteam tTestteam)
    {
        return tTestteamMapper.updateTTestteam(tTestteam);
    }

    /**
     * 批量删除testteambuild
     * 
     * @param ids 需要删除的testteambuild主键
     * @return 结果
     */
    @Override
    public int deleteTTestteamByIds(Long[] ids)
    {
        return tTestteamMapper.deleteTTestteamByIds(ids);
    }

    /**
     * 删除testteambuild信息
     * 
     * @param id testteambuild主键
     * @return 结果
     */
    @Override
    public int deleteTTestteamById(Long id)
    {
        return tTestteamMapper.deleteTTestteamById(id);
    }
}
